#include <iostream>
#include <string>

using namespace std;


/*int main()
{
	string s;
	int count = 0;
	for (int i = 0; i > -1; i++)
	{
		getline(cin, s);
		for (int n = 0; n < s.size(); n++)
		{
			if (s[n] == 97)
				count++;
			if (s[n] == '.')
				goto end;
		}
	}
end:
	cout << count;
	return 0;
}*/